|
Common Properties |
|
Common properties for XMLProperties, PDFProperties, TSProperties:
|
Property |
Type |
Required |
Comment |
|||||||
|
contentType |
string |
yes |
if “files” then files property must be present; if “bytes” then bytes property must be filled with base64 encoded data. |
|||||||
|
files |
array of [string] |
no*+ |
URL formatted file names file://c:/text.txt |
|||||||
|
bytes |
array of [string] |
no*+ |
Bytes of document to sign/verify, encoded either as: XML string or in base64; multiple documents in array possible. Each document must be prefixed with XML: for an xml content or with BASE64: for a base64 encoded content. |
|||||||
|
lang |
string |
no |
language enum : language for dialogs and messages. |
|||||||
|
This flag is set to properties.lang to select language for dialogs and messages.
|
||||||||||
|
certificates |
array of [CertInfo] |
no |
Certificate(s) for signing; each certInfo can be partially populated, works as filter. |
|||||||
|
array of [string] |
no |
Comma separated list of id’s to assign to signatures. |
||||||||
|
options |
array of [Option] |
yes+ |
Options for signing/verifying/.. |
|||||||
|
CAs |
array of [string] |
no+ |
List of issuers (issuer CNs). If you set this option, only those certificates which issuers match this property will be shown in the “Choose Certificate” dialog. |
|||||||
|
saveFileNames |
array of [string] |
no |
If supplied, signed pdf file(s) are saved under supplied names. Must be in the same order and same number of elements as [files] parameter. |
|||||||
* one of files/bytes is required
+ array must not be empty if used